package com.jcw.kqxt.constants;

//系统错误码
public enum ErrorCode {

    LOGIN_FEIGN_FALLBACK("1002", "保存信息到t_login表失败，触发兜底"),
    LOGIN_MEAL_FEIGN_FALLBACK("1003", "保存信息到t_login_meal表失败，触发兜底"),
    SYSTEM_ERROR("1001", "系统内部错误"),
    UPLOAD_FILE_FAIL("1004","文件上传失败"),
    UPLOAD_FILE_TYPE_ERROR("1005","上传文件类型错误");

    //错误码
    private String code;

    //错误信息

    private String message;

    ErrorCode(String code, String message){
        this.code = code;
        this.message = message;
    }

    public String getCode(){
        return code;
    }

    public String getMessage(){
        return message;
    }
}